export const manageRouter = [
    {
        //登录
        path: '/login',
        component: () => import('@/views/manage/login/index.vue'),
        name: 'login',
        meta: {
            title: '登录', //菜单标题
            hidden: true, //代表路由标题在菜单中是否隐藏  true:隐藏 false:不隐藏
            hidd: true,
            icon: 'Promotion', //菜单文字左侧的图标,支持element-plus全部图标
        },
    },
    {
        path: "/back",
        component: () => import('@/layout_manage/index.vue'),
        name: 'back',
        meta: {
            title: '',
            hidden: true,
            icon: '',
        },
        redirect: '/home',
        children: [
            {
                path: '/home',
                component: () => import('@/views/manage/home/index.vue'),
                meta: {
                    title: '首页',
                    hidden: false,
                    hidd: false,
                    icon: 'HomeFilled',
                },
            },
        ]
    },
    {
        path: "/ana",
        component: () => import('@/layout_manage/index.vue'),
        name: 'ana',
        meta: {
            title: '',
            hidden: true,
            icon: '',
        },
        redirect: '/analytics',
        children: [
            {
                path: '/analytics',
                component: () => import('@/views/manage/analytics/index.vue'),
                meta: {
                    title: '分析页',
                    hidden: false,
                    hidd: false,
                    icon: 'DataAnalysis',
                },
            },
        ]
    },
    {
        path: '/screen',
        component: () => import('@/views/manage/screen/index.vue'),
        name: 'screen',
        meta: {
            title: 'screen',
            hidden: true,
            hidd: false,
            icon: 'Platform',
        },
    },
    {
        path: '/acl',
        component: () => import('@/layout_manage/index.vue'),
        name: 'Acl',
        meta: {
            hidden: true,
            title: '权限管理',
            hidd: false,
            icon: 'Lock',
        },
        redirect: '/acl/user',
        children: [
            {
                path: '/acl/user',
                component: () => import('@/views/manage/acl/user.vue'),
                name: 'User',
                meta: {
                    title: '用户管理',
                    hidden: true,
                    hidd: false,
                    icon: 'User',
                },
            },
            {
                path: '/acl/banner',
                component: () => import('@/views/manage/acl/banner.vue'),
                name: 'banner',
                meta: {
                    title: '访问记录',
                    hidden: true,
                    hidd: false,
                    icon: 'Lollipop',
                },
            },
        ],
    },
    {
        path: '/product',
        component: () => import('@/layout_manage/index.vue'),
        name: 'Product',
        meta: {
            title: '管理',
            hidden: true,
            hidd: false,
            icon: 'Goods',
        },
        redirect: '/product/trademark',
        children: [
            {
                path: '/product/filmInfo',
                component: () => import('@/views/manage/product/note.vue'),
                name: 'filmInfo',
                meta: {
                    title: '笔记',
                    hidden: true,
                    hidd: false,
                    icon: 'ShoppingCartFull',
                },
            },
            {
                path: '/product/showInfo',
                component: () => import('@/views/manage/product/open_source.vue'),
                name: 'showInfo',
                meta: {
                    title: '开源项目',
                    hidden: true,
                    hidd: false,
                    icon: 'ChromeFilled',
                },
            },
            {
                path: '/product/orderInfo',
                component: () => import('@/views/manage/product/friends.vue'),
                name: 'orderInfo',
                meta: {
                    title: '朋友圈',
                    hidden: true,
                    hidd: false,
                    icon: 'Orange',
                },
            },
        ],
    },
    {
        path: '/system',
        component: () => import('@/layout_manage/index.vue'),
        name: 'System',
        meta: {
            title: '系统管理',
            hidden: true,
            hidd: false,
            icon: 'Setting',
        },
        redirect: '/system/menu',
        children: [
            {
                path: '/system/menu',
                component: () => import('@/views/manage/system/index.vue'),
                name: 'Menu',
                meta: {
                    title: '系统管理',
                    hidden: true,
                    hidd: false,
                    icon: 'Setting',
                },
            },
        ],
    },
]